const Joi = require('joi')

const username = Joi.string().max(6).required()
const password = Joi.string().alphanum().min(6).max(16).required()

const userSchema = {
    body:{
        username,
        password
    }
}

module.exports = {
    userSchema
}
